package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysOrderDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.vo.req.order.OrderDataGroupResponseDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author xdh
* @description 针对表【sys_order_user】的数据库操作Mapper
* @createDate 2024-07-02 10:48:08
* @Entity com.ruoyi.system.domain.SysOrderUser
*/
public interface SysOrderDeptMapper extends BaseMapper<SysOrderDept> {

    List<OrderDataGroupResponseDTO>  selectCountGroupByMonth(Long deptId);

    Integer selectCountBeforeMonth(@Param("last12Month") String last12Month, @Param("deptId")Long deptId);
}




